/**
 * @properties={type:6,typeid:36,uuid:"BA5C40D5-1237-415F-8D1A-01928C7EAE2B"}
 */
function saldo_anterior()
{
	if (globals.gmoneda_consulta == 1)
		return debe_pes - haber_pes - (mov_d_pes - mov_h_pes)
	else
		return debe_dol - haber_dol - (mov_d_dol - mov_h_dol)
}

/**
 * @properties={type:6,typeid:36,uuid:"785982E9-5C8E-42C5-B48F-B36A8BFC8600"}
 */
function saldo_actual()
{
	if (globals.gmoneda_consulta == 1)
		return debe_pes - haber_pes 
	else
		return debe_dol - haber_dol
}

/**
 * @properties={type:6,typeid:36,uuid:"A423510E-E860-4ACD-BFC5-4564F866652D"}
 */
function movim_debe()
{
	if (globals.gmoneda_consulta == 1)
		return mov_d_pes
	else
		return mov_d_dol
}

/**
 * @properties={type:6,typeid:36,uuid:"A8C5EC68-34B3-42E4-B8DF-EA78F5270E4C"}
 */
function movim_haber()
{
	if (globals.gmoneda_consulta == 1)
		return mov_h_pes
	else
		return mov_h_dol
}
